/*
  <stdlib.h> is a subset of standard C library for user mode
*/

#ifndef _STDLIB_H
#define _STDLIB_H

#include <stddef.h>
#include <_va_list.h>
#include <limits.h>
#include <malloc.h>
#include <printf.h>
#include <syscall.h>

// entry points of applications
//extern void crt0(void);
extern void _crt0(void);
//extern void start(void);
//extern void _start(void);
//extern void __start(void);
extern int main(void);

extern void exit(int status);
extern void delay(int n);

#endif /* _STDLIB_H */
